<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title>推荐音乐列表</title>
    <meta name="keywords" content="music,recommend,manage"/>
    <meta name="description" content="推荐音乐"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <link rel="stylesheet" href="./assets/css/validationEngine.jquery.css" type="text/css">
    <link rel="stylesheet" href="./assets/css/datepicker.css"/>
    <!-- basic styles -->
</head>

<body>
<div class="page-content page-content2">
    <div class="row">
        <div class="col-xs-12">
            <form id="stationFormId" class="form-horizontal" role="form">
                <div class="topSearchBox">
                    <div class="input-group input-group-sm input-group-sm3">
                        <span class="input-group-addon group-addon group-addon2" style="float: none;">音乐名/歌手名</span>
                        <span class="spanIcons"></span>
                        <input type="text" class="form-control form-control-two" id="nameSearch" style="float: none">
                        <button type="button" id="songSearch" class="btn btn-primary btn-sm" title="查询">
                            <i class="icon-search nav-search-icon"></i>
                        </button>
                        <button id="dataadd" type="button" class="btn btn-primary btn-sm"
                                data-toggle="modal" data-target="#musicModal" title="添加推荐">
                            <!--<i class="icon-plus-sign bigger-120"></i>-->
                            添加推荐
                        </button>
                        <button id="deleteMusic" type="button" class="btn btn-sm btn-success" title="移除" disabled="disabled">
                            <!--<i class="icon-plus-sign bigger-120"></i>-->
                            移除
                        </button>
                    </div>
                </div>
            </form>
            <div class="row" style="margin-top: 0px;">
                <div class="col-xs-12">
                    <!-- PAGE CONTENT BEGINS -->
                    <table id="recommend_table" class="table"></table>
                    <!-- PAGE CONTENT ENDS -->
                </div>
                <!-- /.col -->
            </div>
        </div>
    </div>
</div>
<!-- /.page-content -->
<!-- 添加的modal start-->
<div class="modal fade bs-example-modal-lg" id="musicModal" tabindex="-1">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="exampleModalLabel">音乐列表</h4>
            </div>
            <div class="modal-body">
                <form id="recommendMusicFormss" class="form-horizontal" role="form">
                    <div class="input-group input-group-sm input-group-sm3" style="margin-bottom: 20px;">
                        <span class="input-group-addon group-addon group-addon2" style="float: none;padding-left: 0px;">音乐名/歌手名</span>
                        <span class="spanIcons"></span>
                        <input type="text" class="form-control form-control-two" id="songName" style="float: none">
                        <button type="button" form="recommendMusicFormss" id="dataSearch" class="btn btn-primary btn-sm" title="查询">
                            <i class="icon-search nav-search-icon"></i>
                        </button>
                    </div>
                </form>
                <table id="music_table" class="table"></table>
                <form id="musicTableForm" hidden></form>
            </div>
            <div class="modal-footer">
                <button class="btn btn-primary" form="musicTableForm" type="button" id="recommendAll">推荐所有</button>
                <button class="btn btn-primary" form="musicTableForm" type="button" id="recommend">保存</button>
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
            </div>
        </div>
    </div>
</div>
<!-- 修改的modal start-->
<!--<div class="modal fade" id="updateModal" tabindex="-1">-->
    <!--<div class="modal-dialog" role="document">-->
        <!--<div class="modal-content">-->
            <!--<div class="modal-header">-->
                <!--<button type="button" class="close" data-dismiss="modal"-->
                        <!--aria-label="Close">-->
                    <!--<span aria-hidden="true">&times;</span>-->
                <!--</button>-->
                <!--<h4 class="modal-title" id="exampleModalLabel">用户修改</h4>-->
            <!--</div>-->
            <!--<div class="modal-body">-->
                <!--<form class="form-horizontal" role="form" id="updateForm"-->
                      <!--data-type="update">-->
                    <!--<div class="form-group" hidden>-->
                        <!--<label for="roUname" class="col-sm-2 control-label">userID</label>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" class="form-control" name="userId"-->
                                   <!--id="userId" placeholder="userd" readonly="readonly"/>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="form-group">-->
                        <!--<label for="updateDes" class="col-sm-2 control-label">帐号</label>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" class="form-control" id="openid"-->
                                   <!--name="openid" value="openid"/>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="form-group">-->
                        <!--<label for="updateDes" class="col-sm-2 control-label">昵称</label>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" class="form-control" id="nickName"-->
                                   <!--name="nickName" value="nickName"/>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div id="wrap" class="form-group">-->
                        <!--<label for="inputPassword3" class="col-sm-2 control-label">性别</label>-->
                        <!--<div class="col-sm-10"-->
                             <!--style="padding-left: 0px; padding-top: 0px; margin-top: -5px;">-->
                            <!--<div class="radio col-sm-2" style="padding-left: 10px;">-->
                                <!--<label> <input name="gender" type="radio" value="1001"-->
                                               <!--class="ace"/> <span class="lbl"> 男</span>-->
                                <!--</label>-->
                            <!--</div>-->
                            <!--<div class="radio col-sm-2" style="padding-left: 0px;">-->
                                <!--<label> <input name="gender" type="radio" value="1002"-->
                                               <!--class="ace"/> <span class="lbl"> 女</span>-->
                                <!--</label>-->
                            <!--</div>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="form-group">-->
                        <!--<label for="updateDes" class="col-sm-2 control-label">手机号码</label>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" class="form-control" id="phoneNo"-->
                                   <!--name="phoneNo" value="phoneNo"/>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="form-group">-->
                        <!--<label for="updateDes" class="col-sm-2 control-label">省</label>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" class="form-control" id="province"-->
                                   <!--name="province" value="province"/>-->
                        <!--</div>-->
                    <!--</div>-->
                    <!--<div class="form-group">-->
                        <!--<label for="updateDes" class="col-sm-2 control-label">市</label>-->
                        <!--<div class="col-sm-10">-->
                            <!--<input type="text" class="form-control" id="city" name="city"-->
                                   <!--value="曲靖市"/>-->
                        <!--</div>-->
                    <!--</div>-->
                <!--</form>-->
            <!--</div>-->
            <!--<div class="modal-footer">-->
                <!--<button class="btn btn-primary" form="updateForm">保存</button>-->
                <!--<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>-->
            <!--</div>-->
        <!--</div>-->
    <!--</div>-->
<!--</div>-->
<!-- 修改的modal end-->

<!-- 删除的modal start-->
<div class="modal fade" id="deleteModal" tabindex="-1">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">×</span>
                </button>
                <h4 class="modal-title" id="myModalLabel">删除任务</h4>
            </div>
            <!--Form的id为deleteForm-->
            <form id="deleteForm" data-type="delete">
                <div class="modal-body"></div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="submit" class="btn btn-primary">确认</button>
                </div>
            </form>
        </div>
    </div>
</div>
<!-- 删除的modal end-->
<script src="./assets/js/date-time/bootstrap-datepicker.min.js"></script>
<script src="script/recommendMusic.js"></script>
</body>
</html>